<h2><?php echo $this->message ?></h2>
<p><?php echo $this->description ?></p>
<?php if (isset($this->exception)): ?>
<div class="exception">
  <h3 class="first">Message:</h3>
  <div>
    <?php echo $this->exception->getMessage() ?>
  </div>
  
  <h3>Stack trace:</h3>
  <div>
    <pre><?php echo $this->exception->getTraceAsString() ?></pre>
  </div>

  <h3>Request Parameters:</h3>
  <div>
    <pre><?php echo var_export($this->request->getParams(), true) ?></pre>
  </div>
</div>
<?php endif ?>